<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" ng-click="cancel()">&times;</button>
	<p class="modal-title panel-title-size">授权用户</p>
</div>
<div class="modal-body add-cabinet-body" style="max-height: 400px;overflow: auto;">
	<!-- <div class="ztree zTree" z-tree="" permissionList={{permissionList}} roledata={{roledata}} id="_grant_table" ></div> -->
	<p style="padding-bottom:10px;">请选择角色：</p>
	<table class="table b-t b-light" style="border: 1px solid #ddd;">
		<thead class="table-header">
		<tr>
			<th width="10%" class="text-left"></th>
			<th width="80%" class="font-15 text-center">角色名称</th>
		</tr>
		</thead>
		<tbody>
		<tr ng-repeat="row in roledata" ng-class="{true:'info'}[row.checked]">
			<td width="10%" class="text-left">
				<label class="i-checks m-b-none"><input type="checkbox" ng-model="row.checked" name="role" class="update-txt-three"><i></i></label>
			</td>
			<td width="80%" class="font-15 text-center" ng-bind="row.name"></td>
		</tr>
		</tbody>
	</table>
</div>
<div class="modal-footer">
	<button type="submit" class="btn btn-info" ng-click="ok()">确认</button>
	<button class="btn btn-cancel" ng-click="cancel()">取消</button>
</div>



<!--
<div class="modal-header">
	<h3 class="modal-title">授权用户</h3>
</div>
<div class="modal-body">
	&lt;!&ndash; <div class="ztree zTree" z-tree="" permissionList={{permissionList}} roledata={{roledata}} id="_grant_table" ></div> &ndash;&gt;
	<p style="padding-bottom:10px;">请选择角色：</p>
	<table class="table table-hover b-t b-light" style="border: 1px solid #ddd;">
		<thead class="table-header">
		<tr>
			<th class="text-left"></th>
			<th class="text-left">角色名称</th>
		</tr>
		</thead>
		<tbody>
		<tr ng-repeat="row in roledata" ng-class="{true:'info'}[row.checked]">
			<td class="text-center">
				<input type="checkbox" name="role" class="update-txt-three" ng-model="row.checked">
			</td>
			<td class="text-left" ng-bind="row.name"></td>
		</tr>
		</tbody>
	</table>
</div>
<div class="modal-footer">
	<button class="btn btn-default" ng-click="cancel()">取消</button>
	<button class="btn btn-success" ng-click="ok()">确认</button>
</div>-->
